package xyz.hubery.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;

/**
 * 资源服务器配置
 * 核心作用：配置和保护API资源，验证OAuth 2.0访问令牌。
 */
@EnableResourceServer  // 启用资源服务器功能
@Configuration
public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
}